
package com.huawei.esdk.tpoa.tools.cxf.autogen;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for FilterColumn2.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * <p>
 * <pre>
 * &lt;simpleType name="FilterColumn2">
 *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     &lt;enumeration value="SiteName"/>
 *     &lt;enumeration value="SiteUri"/>
 *     &lt;enumeration value="SiteStatus"/>
 *     &lt;enumeration value="SiteType"/>
 *     &lt;enumeration value="ConfTemplateName"/>
 *     &lt;enumeration value="ConfTemplateAccessCode"/>
 *     &lt;enumeration value="McuName"/>
 *   &lt;/restriction>
 * &lt;/simpleType>
 * </pre>
 * 
 */
@XmlType(name = "FilterColumn2")
@XmlEnum
public enum FilterColumn2 {

    @XmlEnumValue("SiteName")
    SITE_NAME("SiteName"),
    @XmlEnumValue("SiteUri")
    SITE_URI("SiteUri"),
    @XmlEnumValue("SiteStatus")
    SITE_STATUS("SiteStatus"),
    @XmlEnumValue("SiteType")
    SITE_TYPE("SiteType"),
    @XmlEnumValue("ConfTemplateName")
    CONF_TEMPLATE_NAME("ConfTemplateName"),
    @XmlEnumValue("ConfTemplateAccessCode")
    CONF_TEMPLATE_ACCESS_CODE("ConfTemplateAccessCode"),
    @XmlEnumValue("McuName")
    MCU_NAME("McuName");
    private final String value;

    FilterColumn2(String v) {
        value = v;
    }

    public String value() {
        return value;
    }

    public static FilterColumn2 fromValue(String v) {
        for (FilterColumn2 c: FilterColumn2 .values()) {
            if (c.value.equals(v)) {
                return c;
            }
        }
        throw new IllegalArgumentException(v);
    }

}
